package coc.example.config;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamConverter;

import coo.base.model.Params;

@XStreamAlias("crawler-defined")
public class CrawlerDefined {
	@XStreamAsAttribute
	private String startUrl;
	@XStreamAsAttribute
	private String loginSite;
	@XStreamAsAttribute
	@XStreamConverter(ParamsConverter.class)
	private Params fixedParams;
	@XStreamAsAttribute
	@XStreamConverter(ParamsConverter.class)
	private Params floatParams;

	public String getStartUrl() {
		return startUrl;
	}

	public void setStartUrl(String startUrl) {
		this.startUrl = startUrl;
	}

	public String getLoginSite() {
		return loginSite;
	}

	public void setLoginSite(String loginSite) {
		this.loginSite = loginSite;
	}

	public Params getFixedParams() {
		return fixedParams;
	}

	public void setFixedParams(Params fixedParams) {
		this.fixedParams = fixedParams;
	}

	public Params getFloatParams() {
		return floatParams;
	}

	public void setFloatParams(Params floatParams) {
		this.floatParams = floatParams;
	}
}
